package com.ORM;

import java.util.Date;

/**
 * Leaveword entity. @author MyEclipse Persistence Tools
 */

public class Leaveword implements java.io.Serializable {

	// Fields

	private Integer id;
	private VipMemberInfo vipMemberInfo;
	private Integer admin;
	private String title;
	private String content;
	private Date leaveDate;
	private String answerContent;
	private Date answerDate;

	// Constructors

	/** default constructor */
	public Leaveword() {
	}

	/** minimal constructor */
	public Leaveword(VipMemberInfo vipMemberInfo) {
		this.vipMemberInfo = vipMemberInfo;
	}

	/** full constructor */
	public Leaveword(VipMemberInfo vipMemberInfo, Integer admin, String title,
			String content, Date leaveDate, String answerContent,
			Date answerDate) {
		this.vipMemberInfo = vipMemberInfo;
		this.admin = admin;
		this.title = title;
		this.content = content;
		this.leaveDate = leaveDate;
		this.answerContent = answerContent;
		this.answerDate = answerDate;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public VipMemberInfo getVipMemberInfo() {
		return this.vipMemberInfo;
	}

	public void setVipMemberInfo(VipMemberInfo vipMemberInfo) {
		this.vipMemberInfo = vipMemberInfo;
	}

	public Integer getAdmin() {
		return this.admin;
	}

	public void setAdmin(Integer admin) {
		this.admin = admin;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getLeaveDate() {
		return this.leaveDate;
	}

	public void setLeaveDate(Date leaveDate) {
		this.leaveDate = leaveDate;
	}

	public String getAnswerContent() {
		return this.answerContent;
	}

	public void setAnswerContent(String answerContent) {
		this.answerContent = answerContent;
	}

	public Date getAnswerDate() {
		return this.answerDate;
	}

	public void setAnswerDate(Date answerDate) {
		this.answerDate = answerDate;
	}

}